from rest_framework import serializers

from houses.models import House
from rest_framework import serializers
from houses.models import Area


class HouseSerializer(serializers.ModelSerializer):
    class Meta:
        model = House
        fields = "__all__"


class AreasSerializer(serializers.ModelSerializer):
    class Meta:
        model = Area
        fields = '__all__'

